package com.htdc.web.bean;


import java.sql.Date;

public class Agreement {

  private String aid;
  private long rid;
  private String cycle;
  private String rentState;
  private java.sql.Date rentTime;
  private java.sql.Date rentEnd;
  private double rentCash;
  private long freeTime;
  private double price;
  private double planRentMoney;
  private double realRentMoney;//终止账单的时候再计算
  private long cid;
  private String rentPattern;
  private double growthRate;
  private long projectID;
  private String stopAgreement;
  private long pid;
  private double area;

  @Override
  public String toString() {
    return "Agreement{" +
            "aid='" + aid + '\'' +
            ", rid=" + rid +
            ", cycle='" + cycle + '\'' +
            ", rentState='" + rentState + '\'' +
            ", rentTime=" + rentTime +
            ", rentEnd=" + rentEnd +
            ", rentCash=" + rentCash +
            ", freeTime=" + freeTime +
            ", price=" + price +
            ", planRentMoney=" + planRentMoney +
            ", realRentMoney=" + realRentMoney +
            ", cid=" + cid +
            ", rentPattern='" + rentPattern + '\'' +
            ", growthRate=" + growthRate +
            ", projectId=" + projectID +
            ", stopAgreement='" + stopAgreement + '\'' +
            ", pid=" + pid +
            ", area=" + area +
            '}';
  }

  public Agreement() {
  }

  public Agreement(String aid, long rid, String cycle, String rentState, Date rentTime, Date rentEnd, double rentCash, long freeTime, double price, double planRentMoney, double realRentMoney, long cid, String rentPattern, double growthRate, long projectID, String stopAgreement, long pid, double area) {
    this.aid = aid;
    this.rid = rid;
    this.cycle = cycle;
    this.rentState = rentState;
    this.rentTime = rentTime;
    this.rentEnd = rentEnd;
    this.rentCash = rentCash;
    this.freeTime = freeTime;
    this.price = price;
    this.planRentMoney = planRentMoney;
    this.realRentMoney = realRentMoney;
    this.cid = cid;
    this.rentPattern = rentPattern;
    this.growthRate = growthRate;
    this.projectID = projectID;
    this.stopAgreement = stopAgreement;
    this.pid = pid;
    this.area = area;
  }

  public String getAid() {
    return aid;
  }

  public void setAid(String aid) {
    this.aid = aid;
  }


  public long getRid() {
    return rid;
  }

  public void setRid(long rid) {
    this.rid = rid;
  }


  public String getCycle() {
    return cycle;
  }

  public void setCycle(String cycle) {
    this.cycle = cycle;
  }


  public String getRentState() {
    return rentState;
  }

  public void setRentState(String rentState) {
    this.rentState = rentState;
  }


  public java.sql.Date getRentTime() {
    return rentTime;
  }

  public void setRentTime(java.sql.Date rentTime) {
    this.rentTime = rentTime;
  }


  public java.sql.Date getRentEnd() {
    return rentEnd;
  }

  public void setRentEnd(java.sql.Date rentEnd) {
    this.rentEnd = rentEnd;
  }


  public double getRentCash() {
    return rentCash;
  }

  public void setRentCash(double rentCash) {
    this.rentCash = rentCash;
  }


  public long getFreeTime() {
    return freeTime;
  }

  public void setFreeTime(long freeTime) {
    this.freeTime = freeTime;
  }


  public double getPrice() {
    return price;
  }

  public void setPrice(double price) {
    this.price = price;
  }


  public double getPlanRentMoney() {
    return planRentMoney;
  }

  public void setPlanRentMoney(double planRentMoney) {
    this.planRentMoney = planRentMoney;
  }


  public double getRealRentMoney() {
    return realRentMoney;
  }

  public void setRealRentMoney(double realRentMoney) {
    this.realRentMoney = realRentMoney;
  }


  public long getCid() {
    return cid;
  }

  public void setCid(long cid) {
    this.cid = cid;
  }


  public String getRentPattern() {
    return rentPattern;
  }

  public void setRentPattern(String rentPattern) {
    this.rentPattern = rentPattern;
  }


  public double getGrowthRate() {
    return growthRate;
  }

  public void setGrowthRate(double growthRate) {
    this.growthRate = growthRate;
  }


  public long getProjectID() {
    return projectID;
  }

  public void setProjectID(long projectID) {
    this.projectID = projectID;
  }


  public String getStopAgreement() {
    return stopAgreement;
  }

  public void setStopAgreement(String stopAgreement) {
    this.stopAgreement = stopAgreement;
  }


  public long getPid() {
    return pid;
  }

  public void setPid(long pid) {
    this.pid = pid;
  }


  public double getArea() {
    return area;
  }

  public void setArea(double area) {
    this.area = area;
  }

}
